package com.trickytriads.events
{
	import flash.events.Event;

	/**
	 *  Event for dispatching a change to the main view state of the program.
	 **/
	public class ChangeMainViewStateEvent extends Event
	{
		public var newState:int;
		public static const CHANGE_MAIN_VIEW : String = "changeMainView";
		
		/**
		 * Constructor; takes "type" and a new state index as parameters.
		 **/
		public function ChangeMainViewStateEvent(type:String, ns:int)
		{
			super(type, false, false);
			this.newState = ns;
		}
		
	}
}